package com.msb.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.msb.common.utils.PageUtils;
import com.msb.mall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author wuguogui
 * @email wuguogui@gmail.com
 * @date 2023-03-19 19:16:11
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 数据字典父子关联查询
     * @param params
     * @return
     */
    List<CategoryEntity> queryPageWithTree(Map<String, Object> params);

    /**
     * 类别批量删除
     * @param catIds
     */
    void removeMenusByIds(List<Long> catIds);
}

